/**
 * Created by zhangguijie on 2017/5/11.
 */
/*
* 轮播图
* */
var swiper = new Swiper('.swiper-container', {
    pagination: '.swiper-pagination',
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    slidesPerView: 1,
    paginationClickable: false,
    autoplayDisableOnInteraction: false,
    spaceBetween: 30,
    loop: true,
    autoplay: 2000

});

$(function () {
    $('.daohangClick').on('click',function () {
        $('.daohang').show()
    });
    $('.float').on('click',function () {
        $('.selectImg').attr('src',"../../images/navigation/daohang_weixuanzhong-@2x.png") ;
        $(this).find('.selectImg')[0].src="../../images/navigation/daohang_xuanzhong@2x.png";
        $('.daohang').hide()
    });
    $('.swiper-slide').on('click',function () {
        window.location.href = 'shopIntroduced.html'
    });
    $('.preject_item_right').on('click',function () {
        window.location.href = 'http://localhost:63342/shiyu-weixin/html/stores/item/itemDetails.html'
    });
    $('.storesTarget').on('click',function () {
        window.location.href = '../../html/stores/store/storeSwitch.html'
    });
    //项目
    $('.weui_xm').on('click',function () {
        window.location.assign('../../html/stores/item/itemList.html');
    });
    //套餐卡
    $('.weui_tck').on('click',function () {
        window.location.href = '../../html/stores/package/packageList.html'
    });
    //美容师
    $('.weui_mrs').on('click',function () {
        window.location.href = '../../html/stores/employees/employeesList.html'    });
    //活动
    $('.weui_hd').on('click',function () {
        window.location.href = '../../html/stores/store/storeActivity.html'
    })
});